package com.woniuxy.lrz.carlproject.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.lrz.carlproject.controller.form.formgoods.GoodsPropertyAddOrUpdateForm;
import com.woniuxy.lrz.carlproject.controller.form.formgoods.GoodsPropertyFindForm;
import com.woniuxy.lrz.carlproject.model.GoodProperty;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.lrz.carlproject.service.dto.dtogoods.GoodsPropertyDto;

import java.util.ArrayList;

/**
 * <p>
 * 属性名表 服务类
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
public interface GoodPropertyService extends IService<GoodProperty> {

    boolean addGoodsProperty(GoodsPropertyAddOrUpdateForm goodsPropertyAddOrUpdateForms);

    boolean deleteGoodsProperty(Integer propertyId);

    Page<GoodsPropertyDto> findGoodsProperty(GoodsPropertyFindForm goodsPropertyFindForm);
}
